package server.http;

import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;

/**
 *
 * @author Sérgio C. Peres
 * @author Guilherme Alves
 */
public class HTTPRequest {

    private String header;

    public HTTPRequest() {
        header = "";
    }

    public void httpHandler(BufferedReader input, DataOutputStream output) throws IOException {
        while (input.ready()) {
            header += input.readLine() + "\n";
        }
    }

   //Setters and Getters
    public String getHeader() {
        return this.header;
    }
}
